from django.urls import path
from blog2 import views

urlpatterns = [
    path('index/', views.index, name='index'),
    path('add_author/', views.add_author, name='add_author'),
    path('author/<int:id>', views.author, name='author'),
    path('add_blog/', views.add_blog, name='add_blog'),
    path('blog/<int:id>', views.blog, name='blog'),
]
